﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.MLTT.IRepository
{
    public interface IBaseRepository<T> where T : class
    {
        IQueryable<T> GetAll();
        void Add(T entity);
        void Update(T entity);
        void Delete(T entity);
        void AddRange(List<T> entity);
        void UpdateRange(List<T> entity);
        void DeletedRange(List<T> entity);
        int SaveChange();

    }
}
